package com.source.study;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author guodingwei
 * @Date 2024/6/2 18:16
 */
public class Main {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext("com.source.study");
		System.out.println("结果是" + applicationContext.getBean(Dog.class));
	}
}
